﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DepartmentWork.Model
{

    /// <summary>
    /// 请假表ViewModel
    /// </summary>
    public class ProjectDeskLeaveViewModel
    {

        /// <summary>
        /// PK
        /// </summary>
        public Guid leave_id { get; set; }


        /// <summary>
        /// 请假人ID
        /// </summary>
        public Guid Leave_nameid { get; set; }

        /// <summary>
        /// 请假人姓名
        /// </summary>
        public string leave_name { get; set; }

        /// <summary>
        /// 请假申请时间
        /// </summary>
        public DateTime leave_time { get; set; }

        /// <summary>
        /// 请假天数
        /// </summary>
        public int leave_howmanydays { get; set; }

        /// <summary>
        /// 请假类别
        /// </summary>
        public string leave_classes { get; set; }

        /// <summary>
        /// 请假事由
        /// </summary>
        public string leave_cause { get; set; }

        /// <summary>
        /// 请假批准人
        /// </summary>
        public string leave_approver { get; set; }

        /// <summary>
        /// 审批结果
        /// 0是未通过
        /// 1是通过
        /// </summary>
        public string leave_approverresult { get; set; }

        /// <summary>
        /// 请假次数
        /// </summary>
        public int leave_quantity { get; set; }



        /// <summary>
        /// 全员查询用到的申请时间
        /// </summary>
        public string leave_time_selcet { get; set; }



        /// <summary>
        /// 请假开始日期
        /// </summary>
      
        public DateTime  leave_begain_day { get; set; }


        /// <summary>
        /// 请假结束日期
        /// </summary>
     
        public DateTime   leave_end_day{ get; set; }




        /// <summary>
        /// 请假起止日期
        /// </summary>

        public string leave_day { get; set; }


        /// <summary>
        /// 审批人ID
        /// </summary>
        public Guid  leave_overname { get; set; }


        /// <summary>
        /// 天数
        /// </summary>
        public int day { get; set; }

    }
}
